#!/bin/sh
CC=/home/gaochenzhao/gaochenzhao/mixpad_rk3326_linux/out/toolchains/bin/aarch64-buildroot-linux-gnu-gcc
#CC=gcc
CFLAGS="-I/home/gaochenzhao/gaochenzhao/mixpad_rk3326_linux/out/toolchains/aarch64-buildroot-linux-gnu/sysroot/usr/include/ -I/home/gaochenzhao/gaochenzhao/mixpad_rk3326_linux/out/toolchains/aarch64-buildroot-linux-gnu/sysroot/usr/include/libdrm"
LDFLAGS="-L /home/gaochenzhao/gaochenzhao/mixpad_rk3326_linux/out/toolchains/aarch64-buildroot-linux-gnu/sysroot/usr/lib"
#$CC main.c -Wall  -o my_fb
#$CC test.c -Wall  -o get_pagesize
$CC $CFLAGS $LDFLAGS -ldrm  plane-test.c -Wall  -o plane-test
#$CC $CFLAGS $LDFLAGS -ldrm  drm_test.c -Wall  -o drm_test
#$CC $CFLAGS $LDFLAGS -ldrm  bmp.c -Wall  -o bmp
